package cn.itsource.user.mapper;

import cn.itsource.basic.mapper.BaseMapper;
import cn.itsource.user.domain.User;
import org.apache.ibatis.annotations.Param;

public interface UserMapper extends BaseMapper<User>{

    User getByPhone(String phone);

    User login(@Param("uname") String username, @Param("state") int state);
}
